package com.lijian.controller;

import io.swagger.annotations.ApiOperation;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class SecurityController {

    @ApiOperation(value = "登陆跳转页面", notes = "登陆跳转页面")//描述
    @GetMapping("/login.html")
    public String login(){
        return "login";
    }

    @ApiOperation(value = "403未授权跳转页面", notes = "403未授权跳转页面")//描述
    @GetMapping("/403.html")
    public String noPermission(){
        return "403";
    }
}
